package com.depay.mapper;

import java.util.List;
import com.depay.mapper.model.UserInfo;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author xieyueshu 2019/1/31
 */
@Mapper
public interface UserInfoMapper {

    UserInfo load(@Param("address") String address);

    Integer updateBalance(@Param("list") List<UserInfo> list);

    Integer updateDiamond(@Param("list") List<UserInfo> list);

    Integer updateGold(@Param("list") List<UserInfo> list);
    
    Integer sumGold(@Param("list") List<UserInfo> list);
}
